package com.nanxhs.proxy.stati;

/**
 * 物流服务代理
 *
 * @author: haibin.tang
 * @date: 2021/2/7
 */
public class LogisticsProxy implements LogisticsService {

    private LogisticsService logisticsService = new LogisticsServiceImpl();

    public void delivery(String logisticsNo) {
        System.out.println("调用发货接口");
        logisticsService.delivery(logisticsNo);
    }

    public void signing(String logisticsNo) {
        System.out.println("调用签收接口");
        logisticsService.signing(logisticsNo);
    }
}
